$OpenBSD: patch-tests_test_mips_c,v 1.3 2015/02/04 07:33:11 benoit Exp $

The 'mips' symbol is special on MIPS platforms, so rename it to prevent a
conflict.

--- tests/test_mips.c.orig	Tue Feb  3 15:41:07 2015
+++ tests/test_mips.c	Wed Feb  4 08:05:44 2015
@@ -32,18 +32,18 @@ static void print_string_hex(char *comment, unsigned c
 static void print_insn_detail(cs_insn *ins)
 {
 	int i;
-	cs_mips *mips;
+	cs_mips *mipsen;
 
 	// detail can be NULL on "data" instruction if SKIPDATA option is turned ON
 	if (ins->detail == NULL)
 		return;
 
-	mips = &(ins->detail->mips);
-	if (mips->op_count)
-		printf("\top_count: %u\n", mips->op_count);
+	mipsen = &(ins->detail->mipsen);
+	if (mipsen->op_count)
+		printf("\top_count: %u\n", mipsen->op_count);
 
-	for (i = 0; i < mips->op_count; i++) {
-		cs_mips_op *op = &(mips->operands[i]);
+	for (i = 0; i < mipsen->op_count; i++) {
+		cs_mips_op *op = &(mipsen->operands[i]);
 		switch((int)op->type) {
 			default:
 				break;
